require "import"
import "android.net.wifi.WifiManager"
local bt= this.getSystemService(this.WIFI_SERVICE) 
if bt.isWifiEnabled() == true then
bt.setWifiEnabled(false)
 service.playSoundGestureEnd()
this.speak(" Wi-Fi is De-Activate,") 
elseif bt.isWifiEnabled() == false then
bt.setWifiEnabled(true)
service.playSoundTick()
this.speak(" Wi-Fi is Activate,")
end
return true